package cn.com.dcsgo.controller;

import cn.com.dcsgo.service.StudentService;

/**
 * StudentController
 *
 * @author Dcsgo
 * @since 2025/2/4 11:25
 */

public class StudentController {
    private StudentService studentService;

    public StudentController() {
    }

    public StudentController(StudentService studentService) {
        this.studentService = studentService;
    }

    public void studentsInfo() {
        studentService.findAll().forEach(System.out::println);
    }
}
